package xyz.jcat.biz.admin.domain.dto;

import lombok.Getter;
import lombok.Setter;
import xyz.jcat.webmvc.validator.Id;

import javax.validation.constraints.NotNull;
import java.util.Set;

@Getter
@Setter
public class RolePermissionBindDto {

    @Id
    @NotNull(message = "请选择绑定角色")
    private Long roleId;
    private Set<Long> permissionIds;
}
